package com.example.safeassistan.train.model;

import java.util.List;

public class SubmitPaperModel {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"id":"111","totalStore":100,"paperMark":40,"knowNum":4,"trueNum":2,"useTime":"00:01:00","paperResult":"不合格","submissionTime":"2021-04-14 09:42:09","singleSheet":[1,1],"manySheet":[2],"judgeSheet":[2]}
     * timestamp : 1618364529741
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * id : 111
         * totalStore : 100
         * paperMark : 40
         * knowNum : 4
         * trueNum : 2
         * useTime : 00:01:00
         * paperResult : 不合格
         * submissionTime : 2021-04-14 09:42:09
         * singleSheet : [1,1]
         * manySheet : [2]
         * judgeSheet : [2]
         */

        private String id;
        private Integer totalStore;
        private Integer paperMark;
        private Integer knowNum;
        private Integer trueNum;
        private String useTime;
        private String paperResult;
        private String submissionTime;
        private List<Integer> singleSheet;
        private List<Integer> manySheet;
        private List<Integer> judgeSheet;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Integer getTotalStore() {
            return totalStore;
        }

        public void setTotalStore(Integer totalStore) {
            this.totalStore = totalStore;
        }

        public Integer getPaperMark() {
            return paperMark;
        }

        public void setPaperMark(Integer paperMark) {
            this.paperMark = paperMark;
        }

        public Integer getKnowNum() {
            return knowNum;
        }

        public void setKnowNum(Integer knowNum) {
            this.knowNum = knowNum;
        }

        public Integer getTrueNum() {
            return trueNum;
        }

        public void setTrueNum(Integer trueNum) {
            this.trueNum = trueNum;
        }

        public String getUseTime() {
            return useTime;
        }

        public void setUseTime(String useTime) {
            this.useTime = useTime;
        }

        public String getPaperResult() {
            return paperResult;
        }

        public void setPaperResult(String paperResult) {
            this.paperResult = paperResult;
        }

        public String getSubmissionTime() {
            return submissionTime;
        }

        public void setSubmissionTime(String submissionTime) {
            this.submissionTime = submissionTime;
        }

        public List<Integer> getSingleSheet() {
            return singleSheet;
        }

        public void setSingleSheet(List<Integer> singleSheet) {
            this.singleSheet = singleSheet;
        }

        public List<Integer> getManySheet() {
            return manySheet;
        }

        public void setManySheet(List<Integer> manySheet) {
            this.manySheet = manySheet;
        }

        public List<Integer> getJudgeSheet() {
            return judgeSheet;
        }

        public void setJudgeSheet(List<Integer> judgeSheet) {
            this.judgeSheet = judgeSheet;
        }
    }
}
